package com.smfx.yxt.view;

import java.util.List;

import com.smfx.yxt.common.enums.NoticeType;
import com.smfx.yxt.model.AttachmentList;
import com.smfx.yxt.model.NoticeRecord;

public class NoticeRecordView extends NoticeRecord {

	private static final long serialVersionUID = 1871249287988279132L;

	private List<AttachmentList> attachList;
	
	private Integer isRead;
	
	//未读通知数量
	private int count;

	public List<AttachmentList> getAttachList() {
		return attachList;
	}

	public void setAttachList(List<AttachmentList> attachList) {
		this.attachList = attachList;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
	
	public Integer getIsRead() {
		return isRead;
	}

	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	public String getNoticeTypeText() {
		return NoticeType.getValue(super.getNoticeType());
	}
	
}
